﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CarLoanSystem.Entity;

namespace CarLoanSystem
{
    public partial class frmAlertsMessage : Form
    {
        public frmAlertsMessage(int id)
        {
            InitializeComponent();
            AlertsMessageItem item = DAL.AlertsMessageInfoDAL.LoadAlertsMessage(id);
            this.txtAlertsMessage.Text = item.ALERTS_MESSAGE_DETAIL;
            item.ALERTS_MESSAGE_STATUS = "I";
            DAL.AlertsMessageInfoDAL.Update(item);
        }
    }
}
